/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.com.brands.application.ics.facade;

import br.com.brands.application.ics.beans.ProductsBeans;
import java.util.List;
import javax.ejb.EJBException;
import javax.ejb.Local;

/**
 *
 * @author ppacheco
 */
@Local
public interface ProductsFacadeBeanLocal {

    ProductsBeans delete(ProductsBeans products) throws EJBException;

    List<ProductsBeans> findAll(ProductsBeans products) throws EJBException;

    ProductsBeans findByID(ProductsBeans products, Long id, boolean lock) throws EJBException;

    ProductsBeans save(ProductsBeans products) throws EJBException;

    ProductsBeans saveOrUpdate(ProductsBeans products) throws EJBException;
}
